package com.sample.traffic.action.ydqyfx;


import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.sample.traffic.action.ydqy.dao.YdqyGisDAO;


@SuppressWarnings("serial")
public class YdqyfxSerachAction extends ActionSupport {
	
	public String execute() throws Exception {
		ActionContext ctx = ActionContext.getContext();         
		HttpServletRequest request = (HttpServletRequest)ctx.get(ServletActionContext.HTTP_REQUEST);
		YdqyGisDAO dao = new YdqyGisDAO();
		//request.setAttribute("nodeList",dao.getNodeInfo());
		request.setAttribute("areaList",dao.getAreaInfo());
		return SUCCESS;
	}
}
